<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <title>患者_治疗记录</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/style.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.2.0.css" />
    <link rel="stylesheet" type="text/css" href="../css/BasicPatientInformation.css" />
</head>

<body>
    <main id="app">
        <div class="aui-padded-5" id="tab1-con">
            <div id="tab1-con4">
                <div class="tab-index-4-list" v-for="(itme,index) in TreatmentRecordSheet">
                    <h2>治疗次数</h2><span>{{index+1}}</span>
                    <div>
                        <span>时间：{{itme.sfm}}</span>
                        <span>体位：{{itme.F_tiwei}}</span>
                        <span>监护：{{itme.F_custody}}</span>
                    </div>
                    <div>
                        <span>日期：<span>{{itme.nyr}}</span></span>
                        <span>管道：{{itme.F_guandao}}</span>
                        <span>吸痰：{{itme.F_xitan}}</span>
                    </div>
                    <div>
                        <span>吸氧方式：{{itme.F_xiyang}}</span>
                        <span>静脉输液：{{itme.F_jingmaishuye}}</span>
                        <span>舱内抢救：{{itme.cnqj}}</span>
                    </div>
                    <div>
                        <span>陪护人员：{{itme.F_peihu}}</span>
                        <span>医护陪护：{{itme.F_yihu}}</span>
                        <span>单独开舱：{{itme.dandukc}}</span>
                    </div>
                    <div>
                        <span>护理级别：{{itme.F_grade}}</span>
                        <span>吸氧方案：{{itme.xiyang1}}</span>
                        <span>舱内压力TAT：{{itme.yali}}</span>
                    </div>
                    <div>
                        <span>执行者签名：{{itme.ccName}}</span>
                        <span>治疗总时程min：{{itme.shicheng}}</span>
                        <span>修改医嘱签名：{{itme.F_xgyzysqm}}</span>
                    </div>
                </div>
            </div>
        </div>
    </main>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script src="../script/vue.js" charset="utf-8"></script>
<script src="../js/ToConfigure.js" charset="utf-8"></script>
<script type="text/javascript">
    var vm = null;
    apiready = function() {
        //接收患者ID
        var F_ID = api.pageParam.F_ID;

        vm = new Vue({
            el: '#app',
            data: {
                F_ID: 0, //患者唯一标识
                TreatmentRecordSheet: [], //治疗记录单
                Url_IP: ""
            },
            created() {
                //获取所属医院IP地址
                this.Url_IP = ToConfigure_IP("Gorgeous");

                if (F_ID !== undefined && F_ID !== '') {
                    this.F_ID = F_ID;
                }

                //判断预约这ID不为空
                if (this.F_ID !== null && this.F_ID !== '' && this.F_ID !== undefined) {

                    //查询患者记录
                    api.ajax({
                        url: this.Url_IP + 'HyperbaricOxygen/PatientInformation/Select_HO_TreatmentRecord',
                        method: 'post',
                        data: {
                            values: {
                                F_reserveId: F_ID
                            }
                        }
                    }, function(ret, err) {
                        vm.TreatmentRecordSheet = ret;
                    });
                }

            }
        });
    }
</script>

</html>
